/**
 * Created by Administrator on 2017/10/17.
 */
public class Node {
    Object date;
    Node next;

    public Node(Object item,Node next) {
        this.date=item;
        this.next=next;
    }
    public Node(Object item) {
        this(item,null);
    }
    public Node() {
        this(null,null);
    }

    public Object getDate() {
        return date;
    }

    public void setDate(Object head) {
        this.date = head;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }
}
